package cn.itsource.basic.base.query;

import lombok.Data;

@Data
public class BaseQuery {
    //当前页
    private Integer currentPage=1;
    //多少条
    private Integer pageSize=3;
    //可读方法
    public Integer getStart(){
        return (this.currentPage-1)*this.pageSize;
    }
    //条件查询
    private String search;
}
